package com.demo.base.exception;

import com.demo.base.bean.CommonStatus;

/**
 * 服务端程序错误异常
 * Created by ethan on 2017/1/14.
 */
public class ServerErrorException extends FrameworkException {

    public ServerErrorException() {
        super(CommonStatus.SERVER_ERROR);
    }

    public ServerErrorException(String message) {
        super(CommonStatus.SERVER_ERROR, message);
    }

    public ServerErrorException(Throwable cause) {
        super(CommonStatus.SERVER_ERROR, cause);
    }

    public ServerErrorException(String message, Throwable cause) {
        super(CommonStatus.SERVER_ERROR, message, cause);
    }

}
